package com.bluedog;

import com.bluedog.listenter.ChatListener;
import com.bluedog.listenter.EditBookListener;
import com.bluedog.listenter.SignChangeListener;
import org.bukkit.plugin.PluginManager;
import org.bukkit.plugin.java.JavaPlugin;


public final class ColorFontMain extends JavaPlugin{

    @Override
    public void onEnable() {
        PluginManager pluginManager = getServer().getPluginManager();
        //注册监听器
        pluginManager.registerEvents(new ChatListener(), this);
        pluginManager.registerEvents(new SignChangeListener(), this);
        pluginManager.registerEvents(new EditBookListener(), this);
    }

    @Override
    public void onDisable() {
        // Plugin shutdown logic
    }
}
